home *** CD-ROM | disk | FTP | other *** search
/ .net 2000 August / NET74.ISO / pc / Software / JavaApplet / AnfyMacBeta1.sea / Anfy for Macintosh / anjavapp / scrtext.txt < prev   
Encoding:
Text File  |  1999-04-11  |  6.0 KB  |  146 lines  |  [TEXT/ttxt]

  1.  
  2. Optional Scrolltext parameters:
  3.  
  4.  
  5. You can optionally activate a scrolltext that will scroll over an applet.
  6. If you don't need the scrolltext, deactivate this feature by placing "NO" 
  7. in the "textscroll" parameter.
  8.  
  9. If you want textscrolling, write a text you want scrolled in an ASCII text 
  10. file. Only one line of a text is supported in "horizontal" mode, but it can 
  11. be as long as you want.
  12.  
  13. In "vertical" mode, be sure not to exceed the width of the applet with the 
  14. single lines of text. 
  15.  
  16. Remember to upload the text file to your site if you activate the scrolltext;
  17. otherwise you will get a message like "<HTML>404 not found"!
  18.  
  19. If activated, here are the available parameters:
  20.  
  21.  
  22. <param name="textscroll" value="myscr.txt"> ; File for scrolltext or "NO"
  23. <param name="texttype" value="horizontal">  ; Tetxscroll mode
  24. <param name="textvspace" value="0">         ; Vertical spacing in "vertical"
  25. <param name="textminfont" value="8">        ; Min fontsize in "zooming"
  26. <param name="textmaxfont" value="172">      ; Max fontsize in "zooming"
  27. <param name="textoffset" value="140">       ; Txtscroll y offset in "horizontal"
  28. <param name="textspeed" value="1">          ; Txtscroll speed
  29. <param name="textfont" value="Helvetica">   ; Txtscroll font name
  30. <param name="textbold" value="NO">          ; Txtscroll bold ("YES" or "NO")
  31. <param name="textitalic" value="NO">        ; Txtscroll italic ("YES" or "NO")
  32. <param name="textsize" value="24">          ; Txtscroll font size
  33. <param name="textshadow" value="YES">       ; Txtscroll shadow ("YES" or "NO")
  34. <param name="TextColR" value="200">         ; Txtscroll colour (red component)
  35. <param name="TextColG" value="255">         ; Txtscroll colour (green component)
  36. <param name="TextColB" value="190">         ; Txtscroll colour (blue component)
  37. <param name="TextSColR" value="20">         ; Txtscroll shadow col. (red c.)
  38. <param name="TextSColG" value="20">         ; Txtscroll shadow col. (green c.)
  39. <param name="TextSColB" value="50">         ; Txtscroll shadow col. (blue c.)
  40. <param name="TextJumpAmp" value="0">        ; Txtscroll jump amplitude
  41. <param name="TextJumpSpd" value="0">        ; Txtscroll jump speed
  42. <param name="TextSineAmp" value="0">        ; Txtscroll sineshape amplitude
  43. <param name="TextSineSpd" value="0">        ; Txtscroll sineshape movement
  44. <param name="TextSineAngle" value="0">      ; Txtscroll sineangle / pixel
  45.  
  46. *****************************************************************************
  47.  
  48. Detailed instructions:
  49.  
  50.                     PART 1: TEXTTYPE PARAMETERS
  51.  
  52. The "texttype" parameter determines the scrolltext mode.
  53. There are 4 modes:
  54.  
  55. "horizontal" -> This scroller is a horizontal line sliding right to left.
  56.  
  57. "vertical" -> This scroller is made by lines that scroll upward,
  58.               like the final credits on movies.
  59.  
  60. "zooming" -> Text zooms in the center from far away to very close.
  61.  
  62. "invzooming" -> Text zooms in the center from very close to far away.
  63.  
  64.  
  65.  - TEXTTYPE = VERTICAL
  66.  
  67. If texttype="vertical", you can determine the vertical spacing between
  68. lines with the "textvspace" parameter.
  69.  
  70.  
  71.  - TEXTTYPE = ZOOMING or INVZOOMING
  72.  
  73. If texttype="zooming" or "invzooming", you can determine both the maximum
  74. and minimum text font size with "textminfont" and "textmaxfont" parameters.
  75.  
  76.  
  77.  - TEXTTYPE = HORIZONTAL
  78.  
  79. If texttype="horizontal", with "textoffset" you can choose the Y offset
  80. from the top. Placing it at 0, the scroll will be placed on the top, and
  81. placing a value near the height of the applet will scroll the text at the 
  82. bottom.
  83.  
  84. Optionally, you can activate the text jumping function, or the text sine
  85. function, but you can't activate both effects simultaneously. You have to 
  86. choose between jumping or sine curve for the best effect on your page.
  87.  
  88. If "TextJumpAmp" is set to "0", no jumping will be shown. Increasing the 
  89. value will result in text jumping: more amplitute, or say, more high jumps.
  90. With the "TextJumpSpd" parameter you can select the jumping speed.
  91.  
  92. The alternative function is to activate the sine scroll function.
  93. If "TextSineAmp" is set to 0, no sine distortion will be generated.
  94. Increasing the value will result in a text waving effect. The higher the 
  95. amplitude, the more waving.
  96.  
  97. With the "TextSineSpd" parameter you can select the speed of the wave.
  98. With the "TextSineAngle" parameter you set how many degrees in a sinewave
  99. the text will be deformed for each pixel. A higher value gives more
  100. distortion.
  101.  
  102.  
  103.                     PART 2: COMMON PARAMETERS
  104.  
  105.  
  106. The "textspeed" parameter determines the scrolling speed.
  107.  
  108. With "textfont" you choose a font of the text. Don't choose a strange or 
  109. non-standard font which is not common to all systems.
  110.  
  111. The usable fonts are "Courier", "Dialog", "Helvetica" and "TimesRoman".
  112. If the required font is not present, the most "near" will be used.
  113.  
  114. Setting "textbold" to "YES"  will enlarge the font a bit. Set it to "NO" 
  115. for normal contours. With "textspeed" parameter you decide the scrolling 
  116. speed.
  117.  
  118. Setting "textitalic" to "YES" will apply italic style to the font.
  119. Set to "NO" to disable this feature.
  120.  
  121. With "textsize" you can change the size of text font.
  122. The most common sizes are: 8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72.
  123. Intermediate values will be scaled to the nearest available size.
  124.  
  125. Setting "textshadow" to "YES" will add shadow to the textscroll.
  126. Otherwise, setting it to "NO" will make shadow "projected".
  127.  
  128. You can choose the colour of text with:
  129.  
  130. TextColR = Red component of colour (0-255)
  131. TextColG = Green component of colour (0-255)
  132. TextColB = Blue component of colour (0-255)
  133.  
  134. For example, 0,0,0 is black, 255,255,255 is white, 255,0,0 is red,
  135. 255,255,0 is yellow, 128,128,128 is grey.
  136. You can compose any colour you want. Try manually experimenting,
  137. or use any paint program's colour selector to find the Red Green Blue
  138. components of your desired colour.
  139.  
  140. With "TextSColR", "TextSColG", "TextSColB", you can select the colour 
  141. for the text shadow.
  142.  
  143. NOTE: If you want to display special characters, such as Japanese,
  144. Chinese or Korean, this will work only from versions 4 of Netscape and
  145. Explorer, not on releases 3 and older.
  146.